<?php /* Smarty version 2.6.18, created on 2009-05-25 08:59:10
         compiled from default/fair_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'urlencode', 'default/fair_index.html', 67, false),array('modifier', 'truncate', 'default/fair_index.html', 67, false),array('function', 'ul_get_news', 'default/fair_index.html', 126, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<meta name="Author" content="stevenchow811@163.com">
<meta name="generator" content="<?php echo $this->_tpl_vars['UaVersion']; ?>
" />
<meta name ="keywords" content="<?php echo $this->_tpl_vars['sitename']; ?>
">
<meta name="description" content="最新展会信息,尽在<?php echo $this->_tpl_vars['sitename']; ?>
"> 
<title><?php echo $this->_tpl_vars['pageTitle']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['INC_PATH']; ?>
css/style.css" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/kongqineng.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.bcastr_file = "<?php echo $this->_tpl_vars['PictureFiles']; ?>
";
flashvars.bcastr_link = "<?php echo $this->_tpl_vars['PictureLinks']; ?>
";
flashvars.bcastr_title = "<?php echo $this->_tpl_vars['PictureTitles']; ?>
";
flashvars.TitleBgPosition = 1;
flashvars.Tween = 1;
swfobject.embedSWF("<?php echo $this->_tpl_vars['SiteUrl']; ?>
media/flash/bcastr31.swf", "flashcontent2", "353", "150", "8.0.0", "expressInstall.swf", flashvars);
</script>
<script language=javascript src="js/nip_common.js"></script>
<?php echo $this->_tpl_vars['xajax_javascript']; ?>

<script language="javascript">
xajax_rebuildHTML("fair/index.php");
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.banner1.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.header1.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25" class="corhui">&nbsp;<img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/star.gif" width="15" height="13" align="absmiddle"> 
      您当前位置：<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
"><?php echo $this->_tpl_vars['sitename']; ?>
</a> &gt; 展会</td>
  </tr>
  <tr>
    <td height="5"></td>
  </tr>
</table>
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="220" rowspan="2" valign="top" class="lineblack"> 
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td><table width="100%" border="0" cellpadding="3" cellspacing="0" class="bghui">
              <tr> 
                <td height="10"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="1">
                    <tr> 
                      <td width="72%" class="font14blak">最新展会</td>
                      <td width="28%" align="center"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
fair/list.php">更多...</a></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td align="center"> <table width="100%" border="0" cellspacing="2" cellpadding="0">
              <tr> 
                <td height="84">
                <div id="latestDiv"><ul>
                <?php $_from = $this->_tpl_vars['LatestExpo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['l_expo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['l_expo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['le']):
        $this->_foreach['l_expo']['iteration']++;
?>
                    <li><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
fair/detail.php?title=<?php echo ((is_array($_tmp=$this->_tpl_vars['le']['ExpoName'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['le']['ExpoName'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 35) : smarty_modifier_truncate($_tmp, 35)); ?>
</a>
                        <?php if ($this->_tpl_vars['le']['ExpoCreated'] > $this->_tpl_vars['today_mktime']): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/new1.gif" width="21" height="9"><?php endif; ?></li>
                <?php endforeach; endif; unset($_from); ?>
                  </ul></div></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td><table width="100%" border="0" cellpadding="3" cellspacing="0" class="bghui">
              <tr> 
                <td height="10"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="1">
                    <tr> 
                      <td width="72%" class="font14blak">推荐展会</td>
                      <td width="28%" align="center"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
fair/list.php?type=commend">更多...</a></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td align="center"> 
		  <table width="100%" border="0" cellspacing="2" cellpadding="0">
              <tr> 
                <td height="84">
                <div id="recommendDiv"><ul>
                <?php $_from = $this->_tpl_vars['RecommendExpo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['recexpo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['recexpo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['r']):
        $this->_foreach['recexpo']['iteration']++;
?>
                <li><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
fair/detail.php?title=<?php echo ((is_array($_tmp=$this->_tpl_vars['r']['ExpoName'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
" ><?php echo ((is_array($_tmp=$this->_tpl_vars['r']['ExpoName'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 35) : smarty_modifier_truncate($_tmp, 35)); ?>
</a>
                        <?php if ($this->_tpl_vars['r']['ExpoCreated'] > $this->_tpl_vars['today_mktime']): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/new1.gif" width="21" height="9"><?php endif; ?></li>
                <?php endforeach; endif; unset($_from); ?>
                </ul></div>
				</td>
              </tr>
            </table></td>
        </tr>
      </table></td>

  </tr>
  <tr> 
    <td width="360" valign="top"> <table width="353" height="27" border="0" align="center" cellpadding="0" cellspacing="0" class="corbule2">
        <tr> 
          <td height="2" colspan="2" class="corbule3"><div id="flashcontent2">展会</div></td>
        </tr>
        </table>
    <table width="353" height="27" border="0" align="center" cellpadding="0" cellspacing="0" class="corbule2">
        <tr> 
          <td height="2" colspan="2" class="corbule3"></td>
        </tr>
        <tr> 
          <td width="72%" height="23">　<span class="font14blak">展会新闻</span></td>
          <td width="28%" align="center"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
news/list.php?type_id=<?php echo $this->_tpl_vars['ExpoNewstypeId']; ?>
">更多...</a></td>
        </tr> 
		<tr> 
          <td height="2" colspan="2" ></td>
        </tr>
      </table> 
      <table width="353" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
		<?php echo smarty_function_ul_get_news(array('type_id' => '1','col' => '2'), $this);?>

        </tr>
      </table>
      <table width="353" height="27" border="0" align="center" cellpadding="0" cellspacing="0" class="corbule2">
        <tr> 
          <td height="2" colspan="2" class="corbule3"></td>
        </tr>
        <tr> 
          <td width="72%" height="23">　<span class="font14blak">热门展会</span></td>
          <td width="28%" align="center"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
fair/list.php?orderby=asc">更多...</a></td>
        </tr>
        <tr> 
          <td height="2" colspan="2" ></td>
        </tr>
      </table>
      <table width="353" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="175"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <?php $_from = $this->_tpl_vars['LatestExpo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['remen'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['remen']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['m']):
        $this->_foreach['remen']['iteration']++;
?>
              <tr> 
                <td width="12" valign="top">·</td>
                <td width="165" height="20"> <a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
fair/detail.php?title=<?php echo ((is_array($_tmp=$this->_tpl_vars['m']['ExpoName'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
" ><?php echo $this->_tpl_vars['m']['ExpoName']; ?>
</a><?php if ($this->_tpl_vars['m']['ExpoCreated'] > $this->_tpl_vars['today_mktime']): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/new1.gif" width="21" height="9"><?php endif; ?></td>
              </tr>
              <?php if (!($this->_foreach['remen']['iteration'] % 5)): ?>
            </table></td>
          <td width="3" background="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/dian.gif"></td>
          <td width="175"><table width="180" border="0" cellspacing="0" cellpadding="0">
          <?php endif; ?>
              <?php endforeach; endif; unset($_from); ?>
            </table></td>
        </tr>
      </table></td>
    <td width="180" valign="top" class="corhui"> 
    <?php $_from = $this->_tpl_vars['PictureExpo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['picture_expo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['picture_expo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['pe']):
        $this->_foreach['picture_expo']['iteration']++;
?>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="3">
        <tr> 
          <td height="18"><img src="<?php echo $this->_tpl_vars['attachment_dir']; ?>
<?php echo $this->_tpl_vars['pe']['ExpoPicture']; ?>
.small.jpg" width="180" height="65"></td>
        </tr>
        <tr> 
          <td height="18"><div align="center"><a href="<?php echo $this->_tpl_vars['UrlContainer']['common']; ?>
fair/detail.php?title=<?php echo ((is_array($_tmp=$this->_tpl_vars['pe']['ExpoName'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['pe']['ExpoName'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 25) : smarty_modifier_truncate($_tmp, 25)); ?>
</a></div></td>
        </tr>
      </table>
      <?php endforeach; endif; unset($_from); ?>
      </td>
  </tr>
</table>
<!--  :~展会-->
<table width="<?php echo $this->_tpl_vars['page_width']; ?>
" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><div id="footer"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['ThemeName'])."/element.foot.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></div></td>
  </tr>
</table>
</body>
</html>